package com.indexingsystem.boss.Vo;

import java.io.Serializable;
import java.util.List;

/**
  * @Discription 导出主题词，mybatsi查询映射类
  * @Author mineary
  * @Date 21:29 2018/10/23
  */
public class ExportTableWithOrderResVo implements Serializable {

    private Integer themeTableId;
    private String themeTableName;
    private String themeTableCode;
    private Integer tableCheckStatus;
    private String order;
    private String verify;
    private List<ExportTableWithOrderResVo> tables;
    private List<ExportWordsWithOrderResVo> words;

    public List<ExportTableWithOrderResVo> getTables() {
        return tables;
    }

    public void setTables(List<ExportTableWithOrderResVo> tables) {
        this.tables = tables;
    }

    public String getThemeTableName() {
        return themeTableName;
    }

    public void setThemeTableName(String themeTableName) {
        this.themeTableName = themeTableName;
    }

    public String getThemeTableCode() {
        return themeTableCode;
    }

    public void setThemeTableCode(String themeTableCode) {
        this.themeTableCode = themeTableCode;
    }

    public Integer getTableCheckStatus() {
        return tableCheckStatus;
    }

    public void setTableCheckStatus(Integer tableCheckStatus) {
        this.tableCheckStatus = tableCheckStatus;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getVerify() {
        if (getTableCheckStatus() == 1) {
            return "Y";
        } else {
            return "N";
        }
    }

    public List<ExportWordsWithOrderResVo> getWords() {
        return words;
    }

    public void setWords(List<ExportWordsWithOrderResVo> words) {
        this.words = words;
    }

    public Integer getThemeTableId() {
        return themeTableId;
    }

    public void setThemeTableId(Integer themeTableId) {
        this.themeTableId = themeTableId;
    }

    @Override
    public String toString() {
        return "ExportTableWithOrderResVo{" +
                "themeTableId=" + themeTableId +
                ", themeTableName='" + themeTableName + '\'' +
                ", themeTableCode='" + themeTableCode + '\'' +
                ", tableCheckStatus=" + tableCheckStatus +
                ", order='" + order + '\'' +
                ", verify='" + getVerify() + '\'' +
                '}';
    }
}
